<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<head>
    <title th:text="${pageTitle}"></title>
    <div data-th-replace="layout/head-top"></div>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInLeft">
    <div data-th-replace="common/functionDepict"></div>
    <div>
        <div class="row">
            <div class="pt10">
                <div class="col-sm-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>填写基本信息</h5>
                        </div>
                        <div class="ibox-content clearfix pt10">
                            <form class="form-horizontal m-t" id="groomDataSaveForm">
                                <div class="form-horizontal">
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label text-right"><i class="c-red">*</i> 推荐类型</label>
                                        <div class="col-sm-8">
                                            <div class="radio i-checks" id="groomDataType">
                                                <p><label><input type="radio" checked="checked" value="COURSE" name="dataType"> <i></i> 课程-只能选择平台内的课程</label></p>
                                                <p><label><input type="radio"  value="TEACHER" name="dataType"> <i></i> 讲师-只能选择平台讲师</label></p>
                                                <p><label><input type="radio"  value="USER" name="dataType"> <i></i> 学员-只能推荐考试频道和社区频道</label></p>
                                                <p><label><input type="radio"  value="ARTICLE" name="dataType"> <i></i> 新闻资讯-只能选择正常状态</label></p>
                                                <p><label><input type="radio"  value="BOOK" name="dataType"> <i></i> 图书-只能选择正常状态</label></p>
                                                <p><label><input type="radio"  value="PACKAGE" name="dataType"> <i></i> 套餐-只能选择正常状态</label></p>
                                                <p><label><input type="radio"  value="LIVE" name="dataType"> <i></i> 直播-只能选择正常状态</label></p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group ">
                                        <label class="col-sm-2 control-label text-right recommendedData">
                                            推荐内容
                                        </label>
                                        <div class="col-sm-9">
                                                <p>
                                                    <input type="hidden" id="dataIds"  name="dataIds" value=""/>
                                                    <button class="btn btn-primary " id="selectData" type="button"><i class="fa fa-plus"></i> &nbsp;选择课程</button>
                                                </p>
                                            <div class="pt10">
                                                <table class="table table-bordered table-hover">
                                                    <thead>
                                                    <tr>
                                                        <th class="text-center">ID</th>
                                                        <th class="text-center">名称</th>
                                                        <th class="text-center">操作</th>
                                                    </tr>
                                                    </thead>
                                                    <tbody id="data-content">

                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"><i class="c-red">*</i>  推荐位置</label>&nbsp;&nbsp;&nbsp;
                                        <div class="col-sm-8">
                                            <div class="checkbox i-checks" id="dataType">

                                            </div>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <div class="col-sm-10 col-sm-offset-2">
                                            <button class="btn btn-danger "  id="submitPlaceData" type="button">保存</button>
                                            <button class="btn btn-white ml10" id="onBack" type="button">取消</button>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div data-th-replace="layout/head-footer"></div>
<script type="text/javascript" th:src="@{{path}/admin/business/op/article/select-common-article.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/manage/teacher/common-select-teacher-list.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/course/cou/select-common-course.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/course/cou/packageCou/select-common-package.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/course/book/select_common_book.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/user/user/select_common_user.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/op/groom/groom_place_data_save.js?v={v}(path=${staticPath},v=${v})}"></script>

</body>
</html>
